package com.jumi.microservice.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 团队数据统计
 *
 * @author ssk
 * @create 20/11/13 14:34
 **/
@ApiModel("客户团队历史统计")
public class JmUserStatisticsTeam implements Serializable {

    private static final long serialVersionUID = 3969108964280104246L;

    @ApiModelProperty("主键ID")
    private Integer id;

    @ApiModelProperty("用户Id")
    private Integer uid;

    @ApiModelProperty("上级用户ID")
    private Integer pid;

    @ApiModelProperty("总团队人数")
    private int team;

    @ApiModelProperty("昨日新增用户人数")
    private int teamYesterday;

    @ApiModelProperty("昨日新增推广人数")
    private int teamTgYesterday;

    @ApiModelProperty("昨日新增注册人数")
    private int teamZcYesterday;

    @ApiModelProperty("7日新增用户人数")
    private int teamWeek;

    @ApiModelProperty("7日新增推广人数")
    private int teamTgWeek;

    @ApiModelProperty("7日新增注册人数")
    private int teamZcWeek;

    @ApiModelProperty("30日新增用户人数")
    private int teamMonth;

    @ApiModelProperty("30日新增推广人数")
    private int teamTgMonth;

    @ApiModelProperty("30日新增注册人数")
    private int teamZcMonth;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public int getTeam() {
        return team;
    }

    public void setTeam(int team) {
        this.team = team;
    }

    public int getTeamYesterday() {
        return teamYesterday;
    }

    public void setTeamYesterday(int teamYesterday) {
        this.teamYesterday = teamYesterday;
    }

    public int getTeamTgYesterday() {
        return teamTgYesterday;
    }

    public void setTeamTgYesterday(int teamTgYesterday) {
        this.teamTgYesterday = teamTgYesterday;
    }

    public int getTeamZcYesterday() {
        return teamZcYesterday;
    }

    public void setTeamZcYesterday(int teamZcYesterday) {
        this.teamZcYesterday = teamZcYesterday;
    }

    public int getTeamWeek() {
        return teamWeek;
    }

    public void setTeamWeek(int teamWeek) {
        this.teamWeek = teamWeek;
    }

    public int getTeamTgWeek() {
        return teamTgWeek;
    }

    public void setTeamTgWeek(int teamTgWeek) {
        this.teamTgWeek = teamTgWeek;
    }

    public int getTeamZcWeek() {
        return teamZcWeek;
    }

    public void setTeamZcWeek(int teamZcWeek) {
        this.teamZcWeek = teamZcWeek;
    }

    public int getTeamMonth() {
        return teamMonth;
    }

    public void setTeamMonth(int teamMonth) {
        this.teamMonth = teamMonth;
    }

    public int getTeamTgMonth() {
        return teamTgMonth;
    }

    public void setTeamTgMonth(int teamTgMonth) {
        this.teamTgMonth = teamTgMonth;
    }

    public int getTeamZcMonth() {
        return teamZcMonth;
    }

    public void setTeamZcMonth(int teamZcMonth) {
        this.teamZcMonth = teamZcMonth;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
